

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class GenderValue
{
System.Boolean _GenderID =false;
public System.Boolean GenderID
{
get { return _GenderID;}
set { _GenderID = value;}
}
System.String _GenderNameEN ="";
public System.String GenderNameEN
{
get { return _GenderNameEN;}
set { _GenderNameEN = value;}
}
System.String _GenderNameAR ="";
public System.String GenderNameAR
{
get { return _GenderNameAR;}
set { _GenderNameAR = value;}
}
public GenderValue()
{
}
public GenderValue(System.Boolean __GenderID,System.String __GenderNameEN,System.String __GenderNameAR)
{
_GenderID = __GenderID;
_GenderNameEN = __GenderNameEN;
_GenderNameAR = __GenderNameAR;
}


             public override bool Equals(object obj)
         {
             if (obj is GenderValue)
             {
                 GenderValue newObj = (GenderValue)obj;

                 if (newObj.GenderID == this.GenderID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
